<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>登录</title>
    <link rel="stylesheet" th:replace="base::styles"/>
</head>
<body>
<div th:replace="base::nav-bar"></div>

<div class="container">


    <div class="row">

        <div class="col-lg-4"></div>
        <div class="col-lg-4">

            <form action="/login" method="post">

                <div class="form-group">
                    <input type="text" name="username" class="form-control"/>
                </div>
                <div class="form-group">
                    <input type="password" name="password" class="form-control"/>
                </div>
                <button type="submit" class="btn btn-success">提交</button>

            </form>

            <p th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>

        </div>
        <div class="col-lg-4"></div>

    </div>


</div>


<div th:replace="base::scripts"></div>
</body>
</html>